<?php
class DimissionModel extends Orm_Base{
    public $table = 'dimission';
    public $field = array(
        'id' => array('type' => "int(11) unsigned",'comment' => ''),
        'w_id' => array('type' => "int(11) unsigned",'comment' => '关联护工ID'),
        'dimission_date' => array('type' => "varchar(50)",'coment' => '离职时间'),
        'financial_settlement' => array('type' => "tinyint(1)",'comment' => '财务结算'),
        'return_goods' => array('type' => "tinyint(1)",'comment' => '物品归还'),
        'dimission_reason' => array('type' => "varchar(200)",'comment' => '原因'),
        'remarks' => array('type' => "varchar(200)",'comment' => '备注'),
        'created' => array('type' => "int(11)",'comment' => ''),
        'updated' => array('type' => "int(11)",'comment' => ''),
    );
    public $pk = 'id';
    //财务结算
    public $tCaiwu = array(
        '1' => '是',
        '2' => '否',
    );
    //物品归还
    public $tReturngoods = array(
        '1' => '是',
        '2' => '否',
    );
} 
?>
